# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=adwaita-icon-theme
pkgver=45.0_git20230922
_commit=3fc74b928d7c701dd756a7f2a2f5f4b90da485e1
pkgrel=0
pkgdesc="Adwaita icon theme"
url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
arch="noarch"
options="!check"  # Icons only, no binaries.
license="LGPL-3.0-or-later OR CC-BY-SA-3.0"
depends="librsvg"
makedepends="
	gtk+3.0
	icon-naming-utils
	intltool
	meson
	"
subpackages="$pkgname-dev"
source="https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/archive/$_commit/adwaita-icon-theme-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
	# maybe move pkgconfigs to /usr/lib/ for consistency
}

sha512sums="
536dc0e0e3aa1dca756fe0448ef00abd96fae1d3837adfa6364d46774e9803d62d2f0d94e0e0b81c7d31d6d41d0598c598132d0abdbddb7c15b75c262b10f4cd  adwaita-icon-theme-3fc74b928d7c701dd756a7f2a2f5f4b90da485e1.tar.gz
"
